import request from "@/utils/request";

// 登录接口
export const login = (data) => {
    // console.log(data);
    return request({
        url: '/login',
        method: 'post',
        data
    })
}

// 退出登录
export const logout = () => {
    return request({
        url:'/login/logout',
    })
}

// 验证登录
export const checkLogin = () => {
    return request({
        url:"/login/checkLogin"
    })
}
